﻿<?xml version="1.0" encoding="utf-8" ?>
<SolutionInstallerXml version="1.0">
  <Solution Name="Twitter.CRM">
    <Description><![CDATA[]]></Description>
    <Version></Version>
    <ProductCode>{396A3B30-64B4-47eb-BCE5-ED42B688D486}</ProductCode>
    <UpgradeCode>{D271C299-4592-456f-BD7E-9B2934FA6D1A}</UpgradeCode>
  </Solution>
  <InstallerSteps>
    <InstallerStep Order="1" Name="Backup existing configuration" Command="CrmCustomInstallActions.Commands.BackupConfiguration" Critical="1">
      <Configuration></Configuration>
    </InstallerStep>
    <InstallerStep Order="2" Name="Stop CRM Async Service" Command="CrmCustomInstallActions.Commands.HandleServiceCommand" Critical="0">
      <Configuration>
        <ServiceName>Microsoft CRM Asynchronous Processing Service</ServiceName>
        <Command>STOP</Command>
      </Configuration>
    </InstallerStep>
    <InstallerStep Order="3" Name="Install Custom Workflow assemblies" Command="CrmCustomInstallActions.Commands.InstallPlugin" Critical="1">
      <Configuration>
        <UninstallOption>ASK</UninstallOption>
        <Solution SourceType="0" Assembly="c:\CheckPrivacy.dll">

          <!--
        Tag: WorkflowTypes
        Description: Container for one or more WorkflowType tags. -->

          <WorkflowTypes>

            <!--
            Tag: WorkflowType
            Description: Registers a single workflow activity type in the solution assembly.
            Attributes:
                TypeName
                    Fully qualified name of the workflow activity type, beginning with
                    the namespace.
                FriendlyName
                    A more user friendly name for the type.
            SDK documentation: plugintype class -->

            <WorkflowType TypeName="Coho.Lead.CheckPrivacy" FriendlyName="Check Privacy"/>

          </WorkflowTypes>
        </Solution>
      </Configuration>
    </InstallerStep>
    
    <InstallerStep Order="4" Name="Start CRM Async Service" Command="CrmCustomInstallActions.Commands.HandleServiceCommand" Critical="0">
      <Configuration>
        <ServiceName>Microsoft CRM Asynchronous Processing Service</ServiceName>
        <Command>START</Command>
      </Configuration>
    </InstallerStep>

    <InstallerStep Order="5" Name="Import custom entities" Command="ImportCustomizationXmlCrmCommand" Critical="1">
      <Configuration>
        
      </Configuration>
    </InstallerStep>

    <InstallerStep Order="6" Name="Publish Customizations" Command="PublishCustomizationXmlCrmCommand" Critical="1" />

    
    
    
    
    
  </InstallerSteps>
  
  
  

</SolutionInstallerXml>
  